class AzorunHUD extends HUD;

var CanvasIcon Icon;
var Vector2D IconPosition;

event PostBeginPlay()
{
	super.PostBeginPlay();
	Icon.Texture = Texture2D'EditorMaterials.CoverIcons.CoverNodeStandingLocked';
}

event PostRender()
{
	local AzorunPlayerController apc;
	super.PostRender();

	apc = AzorunPlayerController(self.PlayerOwner);
	if(apc == None)
	{
		return;
	}

	//draw icon - ready to iteraction
	if(AzorunPlayerController(self.PlayerOwner).bIsReadyToInteraction)
	{
		IconPosition.X = self.Canvas.ClipX - 150;
		IconPosition.Y = self.Canvas.ClipY - 100;

		self.Canvas.DrawIcon(Icon, IconPosition.X, IconPosition.Y, 2);
	}
}

DefaultProperties
{
	
}
